package transfer;

import java.io.Serializable;

import chessman.Chessman;

public abstract class Data implements Serializable {

	//Chessman[] arrayChess;
	protected String header;
	public String getHeader() {
		return header;
	}
	public Data(String header) {
		this.header = header;
	}
	public void setHeader(String header) {
		this.header = header;
	}
	/*public int getNum(){
		
	}*/
/*	int value;
	String content ;
	
	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public Data(String s,Chessman[] arr) {
		this.arrayChess = arr;
		this.header = s;
		value = -1;
		content = null;
	}
	public Data(String s) {
		this.arrayChess = null;
		this.header = s;
		value = -1;
		content = null;
	}
	public Data(String s,int i) {
		this.arrayChess = null;
		this.header = s;
		this.value = i;
		content = null;
	}
	public Data(String header,String content) {
		this.arrayChess = null;
		this.header = header;
		value = -1;
		this.content = content;
	}
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Chessman[] getArrayChess() {
		return arrayChess;
	}

	public void setArrayChess(Chessman[] arrayChess) {
		this.arrayChess = arrayChess;
	}*/

}
